<template>
  <div>
    <el-table :data="tableData" style="width: 100%;">
      <el-table-column
        v-for="(item, index) in tabTitle"
        :key="index"
        :label="item.name"
        :prop="item.prop"
        width="180"
      ></el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  props: {
    tableData: Array,
    tabTitle: Array,
  },
}
</script>

<style lang="scss" scoped></style>
